package com.frxuexi.shop2307.shop

import androidx.appcompat.app.AppCompatActivity
import android.os.Bundle
import android.view.View
import com.alibaba.android.arouter.facade.annotation.Route
import com.frxuexi.lib_base.mvvm.BaseViewActivity
import com.frxuexi.shop2307.R
import com.frxuexi.shop2307.databinding.ActivityShopVideoBinding
import dagger.hilt.android.AndroidEntryPoint

@Route(path = "/app/ShopVideoActivity")
@AndroidEntryPoint
class ShopVideoActivity : BaseViewActivity<ActivityShopVideoBinding>() {
    override fun initData() {

    }

    override fun initView() {
        binding.shopGsy.apply {
            setUp("http://txmov2.a.yximgs.com/upic/2020/08/21/11/BMjAyMDA4MjExMTIwMjRfMTg2MzA0OTUzNF8zNDcyMzg3Mjc1MV8yXzM=_b_B5eafb3dea1dbb2334dd9e7e521f75908.mp4?tag=1-1599270592-vdg-1-c0zw7jaq6w-8a139388aff1279d&tt=b&bp=10000",true,"")
            titleTextView.visibility=View.GONE
            startPlayLogic()
            backButton.setOnClickListener {
                finish()
            }
        }
    }

}